package com.letoken.platform.repo.ecommerce.dto;

import com.letoken.platform.pub.req.QueryReqBase;
import com.letoken.platform.repo.ecommerce.po.EcommerceUserAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "新商家添加收货地址请求对象", description = "新商家添加收货地址请求对象")
public class ShopAddAddressReq  implements Serializable {
    @ApiModelProperty(value = "id 新增不填，修改必填")
    private Integer id;

    @ApiModelProperty(value = "收货人名称")
    @NotNull(message = "80500003")
    private String name;

    @ApiModelProperty(value = "手机号")
    @NotNull(message = "80500004")
    private String phoneNumber;

    @ApiModelProperty(value = "是否为默认")
    private Integer defaultStatus;

    @ApiModelProperty(value = "省份/直辖市")
    @NotNull(message = "80500005")
    private String province;

    @ApiModelProperty(value = "城市")
    @NotNull(message = "80500006")
    private String city;

    @ApiModelProperty(value = "区")
    private String region;

    @ApiModelProperty(value = "详细地址(街道)")
    @NotNull(message = "80500007")
    private String detailAddress;






}
